package com.wanqing.community.bean;

import java.util.List;

/**
 * <p>Description：菜单实体类</p>
 * All right reserved.
 * @version 
 */
public class MenuBean implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String mid;
	
	//菜单名
	private String mname;
	
	//菜单编码
	private String mcode;
	
	//对应的地址
	private String murl;
	
	//是否是根 false为根  true为叶子节点
	private boolean mleaf;
	
	private String mpid;
	
	//深度
	private int mdepth;
	
	//是否可用
	private String mstate;
	
	//对应的可用图标
	private String micon;
	
	//对应不可用图标
	private String miconno;
	
	//备注
	private String mremark;
	
	//排序号，值越小，排序越靠前
	private int seqnum;
	
	private boolean hasOperate;
	
	//仿手机界面图标
	private String phoneIcon;
	
	//仿windows界面图标
	private String winIcon;
	
	//样式
	private String iconCls;
	
	private List<MenuOperateBean> listoperates;
	
	private MenuBean parentMenu;	

	private List<MenuBean> childrens;

	public MenuBean getParentMenu() {
		return parentMenu;
	}

	public void setParentMenu(MenuBean parentMenu) {
		this.parentMenu = parentMenu;
	}

	public List<MenuBean> getChildrens() {
		return childrens;
	}

	public void setChildrens(List<MenuBean> childrens) {
		this.childrens = childrens;
	}

	public List<MenuOperateBean> getListoperates() {
		return listoperates;
	}

	public void setListoperates(List<MenuOperateBean> listoperates) {
		this.listoperates = listoperates;
	}

	public String getMid() {
		return mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public String getMname() {
		return mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	public String getMcode() {
		return mcode;
	}

	public void setMcode(String mcode) {
		this.mcode = mcode;
	}

	public String getMurl() {
		return murl;
	}

	public void setMurl(String murl) {
		this.murl = murl;
	}

	public boolean isMleaf() {
		return mleaf;
	}

	public void setMleaf(boolean mleaf) {
		this.mleaf = mleaf;
	}

	public String getMpid() {
		return mpid;
	}

	public void setMpid(String mpid) {
		this.mpid = mpid;
	}

	public int getMdepth() {
		return mdepth;
	}

	public void setMdepth(int mdepth) {
		this.mdepth = mdepth;
	}

	public String getMstate() {
		return mstate;
	}

	public void setMstate(String mstate) {
		this.mstate = mstate;
	}

	public String getMicon() {
		return micon;
	}

	public void setMicon(String micon) {
		this.micon = micon;
	}

	public String getMiconno() {
		return miconno;
	}

	public void setMiconno(String miconno) {
		this.miconno = miconno;
	}

	public String getMremark() {
		return mremark;
	}

	public void setMremark(String mremark) {
		this.mremark = mremark;
	}

	public int getSeqnum() {
		return seqnum;
	}

	public void setSeqnum(int seqnum) {
		this.seqnum = seqnum;
	}

	public boolean isHasOperate() {
		return hasOperate;
	}

	public void setHasOperate(boolean hasOperate) {
		this.hasOperate = hasOperate;
	}

	public String getPhoneIcon() {
		return phoneIcon;
	}

	public void setPhoneIcon(String phoneIcon) {
		this.phoneIcon = phoneIcon;
	}

	public String getWinIcon() {
		return winIcon;
	}

	public void setWinIcon(String winIcon) {
		this.winIcon = winIcon;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

}
